#pragma once
#ifndef COMMON_H_
#define COMMON_H_
#include <string>
#include "queue_mt.h"
#include "counter_mt.h"

constexpr unsigned IMG_ROW = 360;
constexpr unsigned IMG_COL = 640;
constexpr unsigned IMG_CHANEL = 3;
constexpr unsigned RESIZE_ROW = 160;
constexpr unsigned RESIZE_COL = 320;

constexpr unsigned LEN_QUEUE = 256;

struct message
{
    std::string path;
    uint8_t* ptr;
};

using zq_queue = queue_mt<message, LEN_QUEUE>;

#endif
